package com.example.sunsg.okhttptest.bean;

import org.litepal.annotation.Column;
import org.litepal.crud.DataSupport;

/**
 * Created by sunsg on 16/2/17.
 */
public class DemoDb extends DataSupport{
    private int id;

//    @Column(nullable = false) /**本字段不能为null*/
    private String title;

//    @Column(unique = true)/**本字段不能重复 也就是唯一的*/
    private String content;

//    @Column(ignore = true)/**本子段不保存在数据库中*/
    private String notSave;

    private String subTitle;

//    @Column(ignore = true)/**本子段不保存在数据库中*/
    private String subContent;

    private String ddd;

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getNotSave() {
        return notSave;
    }

    public void setNotSave(String notSave) {
        this.notSave = notSave;
    }

    public String getSubTitle() {
        return subTitle;
    }

    public void setSubTitle(String subTitle) {
        this.subTitle = subTitle;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getSubContent() {
        return subContent;
    }

    public void setSubContent(String subContent) {
        this.subContent = subContent;
    }

    public String getDdd() {
        return ddd;
    }

    public void setDdd(String ddd) {
        this.ddd = ddd;
    }
}
